package com.liuyu.common.framework.spring.beanfaxtory;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.stereotype.Component;

/**
 * @ClassName TestBeanFactoryPostProcessor
 * @Author: liuyu
 * @Date: Created in 2021/8/5 23:45
 * @Version: 1
 * @Modified By:
 */
@Component
@Slf4j
public class TestBeanFactoryPostProcessor implements BeanFactoryPostProcessor {
    @Override
    public void postProcessBeanFactory(ConfigurableListableBeanFactory configurableListableBeanFactory) throws BeansException {
        log.error("BeanFactoryPostProcessor 调用");
    }
}
